package cn.itcast.bos.service.base;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import cn.itcast.bos.domain.base.Courier;
import cn.itcast.bos.domain.base.FixedArea;
import cn.itcast.bos.domain.base.TakeTime;

public interface FixedAreaService {

	void save(FixedArea model);

	Page<FixedArea> searchFixedArea(Specification<FixedArea> specification,
			Pageable pageable);

	void associationCourier(FixedArea model, Integer courierId,
			Integer takeTimeId);

	FixedArea findFixedAreaByfixedAreaId(String fixedAreaId);

}
